package com.hr.service;

import com.hr.dto.Page;
import com.hr.entity.Book;

import java.util.Date;
import java.util.List;

public interface BookService {

    void addBook(Book book);

    void deletaBookByBookId(Integer bookId);

    void batchDeleteBook(List<Integer> bookIds);

    void updateBook(Book book);

    Page getBooksByParams(Integer pageNo,
                          Integer pageSize,
                          String bookName,
                          Integer categoryId,
                          Integer status,
                          Date start,
                          Date end);

}
